package com.example.data_structures;


import java.util.stream.IntStream;

public class Stream {
    public static void main(String[] args) {
        IntStream stream=IntStream.range(1,11);
        stream.filter(i -> i%2==0);
        stream.forEach(System.out::println);
    }
}
